package com.bosssoft.trainee.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bosssoft.trainee.entity.dto.UserDTO;
import com.bosssoft.trainee.entity.po.User;
import com.bosssoft.trainee.entity.vo.MenuVO;
import com.bosssoft.trainee.entity.vo.UserQueryVO;

import java.util.List;

/**
 * @author liuqiang
 * @date 2022/7/4 20:08
 */
public interface UserService extends IService<User> {

    User findByUserAccount(User user);

    User findUserById(Integer userId);

    void saveUser(UserDTO userDto);

    List<MenuVO> getMenu(Integer id);

    boolean updateUser(UserDTO userDTO);

    List<UserDTO> getListDTO(Integer pageNum, Integer pageSize);

    List<UserDTO> findUser(UserQueryVO userQueryVO);
}
